package com.roc.service.diaodan;
/**
 * @author FengHaiTao
 * 
 */

import java.util.List;

import com.roc.pojo.AuditingItem;
import com.roc.pojo.BlackList;
import com.roc.pojo.DiaoDanBean;
import com.roc.pojo.SettingBean;
import com.roc.pojo.SettingItemBean;
import com.roc.service.ServiceException;
import com.roc.web.action.diaodan.DiaoDanApplySearchCondition;

public interface IDiaodanService {
	
	DiaoDanBean queryDiaoDanBean(String termtrace,String acountno)throws ServiceException;
	//查询所有出款信息。
	List<DiaoDanBean>  querySettingItemList(DiaoDanApplySearchCondition diaodan)throws ServiceException;
	
	List<SettingBean> querySettinglist(String merno)throws ServiceException;
	//调单申请
	boolean diaodanApply(AuditingItem auditing,DiaoDanBean diaodan,String stuts,List<String> list) throws ServiceException;
	DiaoDanBean queryDiaoDanBean(String id) throws ServiceException;
	int queryblackcount(String merno)throws ServiceException;
	void insertblacklist(BlackList black) throws ServiceException;
	void insertsett(SettingBean sett) throws ServiceException;
	void updatesett(SettingBean sett) throws ServiceException;
	//调单撤销
	boolean diaodanHandle(AuditingItem auditing,DiaoDanBean diaodan) throws ServiceException;
	List<SettingBean> querySettlist(String settid)throws ServiceException;
}
